package com.inexas.cu.client;

import com.google.gwt.event.shared.*;
import com.google.gwt.inject.client.*;
import com.google.inject.*;
import com.inexas.cu.client.pipe.*;

public class ProductionClientSideModule extends AbstractGinModule {

	@Override
	protected void configure() {
		// EventBusProvider forces a global singleton
		bind(HandlerManager.class).toProvider(EventBusProvider.class);

		// Bind the client end of the pipe to an RPC implementation

		bind(PipeClientEnd.class).to(PipeClientEndImpl.class).in(Singleton.class);

	}

}
